package com.printeverywhere.dto;

/**
 * AuctionWonlist entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class AuctionWonlist implements java.io.Serializable {

	// Fields

	private Integer id;
	private Items items;
	private User user;
	private Integer type;
	private String note;
	private Boolean payed;
	private Double price;
	private Integer quantity;

	// Constructors

	/** default constructor */
	public AuctionWonlist() {
	}

	/** minimal constructor */
	public AuctionWonlist(Items items, User user, Integer type) {
		this.items = items;
		this.user = user;
		this.type = type;
	}

	/** full constructor */
	public AuctionWonlist(Items items, User user, Integer type, String note,
			Boolean payed, Double price, Integer quantity) {
		this.items = items;
		this.user = user;
		this.type = type;
		this.note = note;
		this.payed = payed;
		this.price = price;
		this.quantity = quantity;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Items getItems() {
		return this.items;
	}

	public void setItems(Items items) {
		this.items = items;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Boolean getPayed() {
		return this.payed;
	}

	public void setPayed(Boolean payed) {
		this.payed = payed;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

}